package com.ict.web.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.web.domain.ExpertCourse;
import com.ict.web.domain.ExtractExpert;
import com.ict.web.domain.ExtractRule;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReviewTaskDetailVo {

    @ApiModelProperty(value = "评审任务Id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long reviewTaskId;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "评审类型(0:方案评审 1：年度项目清单评审")
    private String reviewType;

    @ApiModelProperty(value = "评审专家数量")
    private String expertNum;

    @ApiModelProperty(value = "评审开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime reviewTimeStart;

    @ApiModelProperty(value = "评审结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime reviewTimeEnd;

    @ApiModelProperty(value = "评审地点")
    private String reviewAddress;

    @ApiModelProperty(value = "抽取规则集合")
    private List<ExtractRule> extractRuleList;

    @ApiModelProperty(value = "抽取专家集合")
    private List<ExtractExpertDetailVo> extractExpertList;

    @ApiModelProperty(value = "专家确认进程集合")
    private List<ExpertCourse> expertCourseList;

}
